/*
 * Copyright (c) United Binary LLC.  All rights reserved.
 * 
 * This code is licensed under the MIT License
 * 
 * SEE: http://harnessit.codeplex.com/license
 * 
 */
using System;
using UnitedBinary.UnitTests.Framework;

namespace UnitedBinary.HarnessIt.UnitTests.TestingTestClasses
{
	/// <summary>
	/// Summary description for OrderedTests2.
	/// </summary>
	[TestClass("A class to test our ordered attributes")]
	[TestOrder(TestOrderModes.Last, 1)]
	public class OrderedTests2
	{
		public OrderedTests2()
		{
		}

		[TestMethod("This is the first programming order test, no framework order.")]
		public void Test1(TestMethodRecord tmr)
		{
			tmr.RunTest(true,"Just one test");
		}

		[TestMethod("This is the second programming order test, ordered first (suborder 1)")]
		[TestOrder(TestOrderModes.First,1)]
		public void Test2(TestMethodRecord tmr)
		{
			tmr.RunTest(true,"Just one test.");
		}

		[TestMethod("This is the third programming order test, ordered last (suborder 1)")]
		[TestOrder(TestOrderModes.Last,1)]
		public void Test3(TestMethodRecord tmr)
		{
			tmr.RunTest(true,"Just one test.");
		}

		[TestMethod("This is the fourth programming order test, ordered first (suborder 2)")]
		[TestOrder(TestOrderModes.First,2)]
		public void Test4(TestMethodRecord tmr)
		{
			tmr.RunTest(true,"Just one test.");
		}
	}
}
